function refch = sinerefdialog()

prompt = {'Reference Channel for FRF = Channel No.:'};
dlgTitle = 'Sine FRF Analysis Settings';
lineNo = [1 30];
load 'C:\Data\AppDefaults\DefaultSettings';
defAns = {num2str(Defaults{2,2})};
settings = inputdlg(prompt, dlgTitle, lineNo, defAns);
refch = str2num(settings{1,1});
